import { createRouter, createWebHashHistory} from "vue-router";
const routes = [
    {
        path:"/home",
        name:"home",
        component:()=>import("@/views/Home.vue")
    },
    {
        path:"/jianjie",
        name:"jianjie",
        component:()=>import("@/views/JianJie.vue")
    },
    {
        path:"/tuandui",
        name:"tuandui",
        component:()=>import("@/views/TuanDui.vue")
    },
    {
        path:"/dongtai",
        name:"dongtai",
        component:()=>import("@/views/DongTai.vue")
    },
    {
        path:"/lianxi",
        name:"lianxi",
        component:()=>import("@/views/LianXi.vue")
    },
    {
        path:"/hezuoqiye",
        name:"hezuoqiye",
        component:()=>import("@/views/HeZuoQiYe.vue")
    },
    {
        path:"/",
        redirect:{
            name:"home"
        }
    }
]
const router = createRouter({
    history:createWebHashHistory(),
    routes
})
export default router